﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using l1cs.server.model.Instance;

namespace l1cs.server.serverpackets
{
    public class S_bonusstats : ServerBasePacket
    {
        private byte[] _byte = null;

        public S_bonusstats( int i, int j )
        {
            buildPacket( i, j );
        }

        private void buildPacket( int i, int j )
        {
            writeC( Opcodes.S_OPCODE_SHOWHTML );
            writeD( i );
            writeS( "RaiseAttr" );
        }

        override
        public byte[] getContent()
        {
            if ( _byte == null )
            {
                _byte = getBytes();
            }

            return _byte;
        }

        override
        public String getType()
        {
            return "[S] S_bonusstats";
        }
    }
}